<template>
  <n-layout>
    <NavBar />
    <n-layout has-sider>
      <SideBar />
      <n-scrollbar style="max-height: calc(100vh - 60px)">
        <n-layout-content content-style="background: #f9f9f9;min-height: calc(100vh - 60px)">
          <slot></slot>
        </n-layout-content>
      </n-scrollbar>
    </n-layout>
  </n-layout>
</template>

<script lang="ts" setup></script>

<style scoped lang="scss">
  .n-layout-scroll-container {
    background: #f9f9f9;
  }
</style>
